package com.dz.server.service;

import com.dz.server.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dz
 * @since 2022-03-22
 */
public interface UserService extends IService<User> {
    //根据用户名和密码查询用户
    public User selectUserByName(String username);
    //注册用户
    public boolean registerUser(User user,String repassword);
    //根据用户名和密码查询用户
    public User selectUser(String username,String password);
    //修改用户信息
    public boolean updateUser(User user,String repassword);
}
